SlkSPSiteMapping.GetMapping Method

Parent Type: SlkSPSiteMapping

Namespace: Microsoft.SharePointLearningKit

Overload List
Name Description
SlkSPSiteMapping.GetMapping (Guid)

Returns the SPSite-to-LearningStore mapping represented by a given SPSite GUID. If no such mapping exists, an exception is thrown.

SlkSPSiteMapping.GetMapping (Guid, out SlkSPSiteMapping)

Retrieves the SPSite-to-LearningStore mapping represented by a given SPSite GUID. If no such mapping exists, a new mapping object is created -- in that case, the caller should set the properties of the SlkSPSiteMapping object to their correct values and then call Update to store the mapping into the SharePoint configuration database.